package com.aisino.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;

import com.aisino.entity.CommonDatasource;
import com.aisino.mapper.CommonDatasourceMapper;
import com.aisino.service.CommonDatasourceService;
@Service
public class CommonDatasourceServiceImpl extends ServiceImpl<CommonDatasourceMapper,CommonDatasource> implements CommonDatasourceService {

    @Autowired
    private CommonDatasourceMapper commonDatasourceMapper;

    @Override
    public int insert(CommonDatasource record) {
        return commonDatasourceMapper.insert(record);
    }

    @Override
    public int insertSelective(CommonDatasource record) {
        return commonDatasourceMapper.insertSelective(record);
    }

    @Override
    public CommonDatasource selectById(String id) {
        return commonDatasourceMapper.selectById(id);
    }

}
